chore(deps): bump typeorm from 0.3.29 to 1.0.0#184
Merged
Conversation
42afe9d to
b7ee08a
Compare
Bumps [typeorm](https://github.com/typeorm/typeorm) from 0.3.29 to 1.0.0. - [Release notes](https://github.com/typeorm/typeorm/releases) - [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md) - [Commits](typeorm/typeorm@0.3.29...1.0.0) --- updated-dependencies: - dependency-name: typeorm dependency-version: 1.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
b7ee08a to
b1b78b9
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Dependabot bump of typeorm from 0.3.29 to 1.0.0 (major version). The PR also adapts the API codebase to TypeORM v1's breaking changes and bumps @nestjs/typeorm to ^11.0.1.
Changes:
- Convert all TypeORM
relations: ["x"]andselect: ["x"]array syntax to v1 object syntax ({ x: true }) across services and their unit tests. - Replace the legacy
"sqlite"driver name with"better-sqlite3"in tests, seeds, migration branching, service-template options, and config tests. - Add root-level
eslint ^10.4.1devDependency (with knip ignore) and pintypeorm: 1.0.0inoverrides(including a nested override for@nestjs/typeorm).
Reviewed changes
Copilot reviewed 37 out of 38 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Adds root eslint devDep; adds typeorm: 1.0.0 and nested @nestjs/typeorm overrides. |
| package-lock.json | Regenerated lockfile reflecting typeorm v1 and eslint hoist. |
| knip.config.ts | Ignores root eslint so knip does not flag it as unused. |
| apps/api/package.json | Bumps typeorm to ^1.0.0 and @nestjs/typeorm to ^11.0.1. |
| apps/api/src/migrations/1774700000002-AddKedaBindings.ts | Drops "sqlite" branch, keeps only "better-sqlite3". |
| apps/api/src/config/configuration.spec.ts | Switches test env DATABASE_TYPE from sqlite to better-sqlite3. |
| apps/api/src/common/database/migration-lock.service.spec.ts | Same rename in test fixture. |
| apps/api/src/database/seeds/initial-seed.{ts,spec.ts} | Rename sqlite→better-sqlite3 in seed data and assertions. |
| apps/api/src/modules/service-template/service-template.service.ts | Updates DATABASE_TYPE variable description and regex pattern. |
| apps/api/src/modules/dashboard/dashboard.service{,.spec}.ts | Relations object syntax; switch DataSource token to getDataSourceToken(). |
| apps/api/src/modules/catalog/catalog.service{,.spec}.ts | Relations object syntax. |
| apps/api/src/modules/teams/teams.service.ts | Relations object syntax. |
| apps/api/src/modules/organization/organization.service.ts | Relations object syntax. |
| apps/api/src/modules/environments/deployments.service.ts | Relations object syntax. |
| apps/api/src/modules/incident/{incident,post-mortem}.service{,.spec}.ts | Relations object syntax. |
| apps/api/src/modules/kubernetes/{flux,keda,operator}-binding.service{,.spec}.ts | Relations object syntax. |
| apps/api/src/modules/elasticsearch-index/component-elasticsearch-index*.{ts,spec.ts} | Relations object syntax. |
| apps/api/src/modules/api-specs/* | Relations object syntax. |
| apps/api/src/modules/auth/keycloak-sync.service.ts | Relations + select object syntax. |
| apps/api/src/modules/finops/cost.controller.ts | Select object syntax. |
| apps/api/src/modules/iac/iac-module-sync.service.ts | Select object syntax. |
| apps/api/src/modules/pipelines/pipelines.service.ts | Select object syntax. |
| apps/api/src/modules/scorecards/scorecard-{evaluator,scheduler}.service{,.spec}.ts | Select object syntax. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps typeorm from 0.3.29 to 1.0.0.
Release notes
Sourced from typeorm's releases.
... (truncated)
Changelog
Sourced from typeorm's changelog.
... (truncated)
Commits
cf3f13fdocs: restyle version dropdown for v1 release (#12514)6997b23chore: release v1.0.0 (#12510)df09802fix(cockroachdb): adjust join in loadTables to load correct table columns (#1...f5cc456fix(find-options): allow array values in JsonContains (#12420)9440998fix(mysql)!: use index identifiers instead of raw SQL inQB.useIndex()(#12...a4f26afchore(deps): bump the github-actions-official group with 3 updates (#12483)ac2ffc6chore(deps): bump the github-actions-third-party group with 3 updates (#12484)62948a3revert: fix up limit with joins (#12478)c2b788fci: pin all GitHub Actions to commit SHAs (#12481)9284c16fix(security): validate limit() in Update/SoftDelete query builders (#12436)